<div id="nouveaux_membres">
<div class="titre_home" style="text-transform: uppercase;">Horoscope</div>
<?php foreach ($horoscope_detail->result_array() as $aRow) {?>
    <?php
        $image = './../assets/avatar/images/' . $aRow['avatar'];
        if (file_exists($image)) {
            $image = root_url('doggy-flirt') . 'assets/avatar/images/' . $aRow['avatar'];
        } else {
            $image = root_url('doggy-flirt') . './assets/noimage.gif';
        }
    ?>
        <div id="content-infor">
            <table align="center" width="100%">
                <tr>
                    <td width="15%"><img width="80px" border="0" src="<?php echo $image; ?>" alt=""/></a></td>
                    <td style="padding: 10px 0px 0px 10px;" valign="top" align="left">
                    <a style="color: #5d94c5;font-size: x-large;"><?php echo $aRow['name'] ?></a></br>
                    <font color="2c4b6d"><?php echo "Birthday on ".$aRow['start_date']."/".$aRow['start_month']." - ".$aRow['end_date']."/".$aRow['end_month'] ?></font>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: justify;"><?php echo $aRow['description'] ?></td>
                </tr>
                <tr>
                    <td colspan="2"></br><a style="color: #5d94c5;" href="<?php echo site_url('horoscope/list_horoscope')?>">Voir les autres horoscopes »</a></td>
                </tr>
            </table>
        </div>
    <?php } ?>
</div>